package com.yc.cinema.entity;

import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;

@Data
public class Movie implements Serializable {
    private Integer id;
    private String name;
    private Integer length;
    private String type;
    private Timestamp beginTime;
    private Timestamp endTime;
    private Boolean is3d;
    private String intro;
    private String image;

    // 一对多关联
    private List<Plan> plans;
}
